Daily Evaluation View Model
class DailyEvaluationViewModel @Inject constructor(dailyMoodRepository: DailyMoodRepository) : ViewModel
ViewModel for handling daily mood evaluation operations.
This ViewModel manages the state of the daily evaluation, including submitting the evaluation, navigating through the pages, and updating the selected emotions and their intensities.
Functions
Link copied to clipboard
Link copied to clipboard
Toggles the selection of an emotion for the daily evaluation.
Link copied to clipboard
Link copied to clipboard
Updates the stress level based on the selected emoji.
Link copied to clipboard
Updates the intensity of a selected emotion.
Link copied to clipboard
Updates the strongest emotion based on the current selection and intensity.